#ifndef perft_h
#define perft_h

#include <stdint.h>

// forward declaration
struct game_t;

/*
 * Perft test.
 *
 * Counts the number of positions reachable from g in depth moves.
 */
uint64_t perft_position(struct game_t* g, int depth);

/*
 * Divide test.
 *
 * Print on the standard output each legal move in g. For each of
 * those moves an additional perft of depth - 1 is executed and
 * reported.
 */
void divide_position(struct game_t* g, int depth);


#endif  // perft_h

